package com.woniu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.entity.Manager;
import com.woniu.entity.User;

/**
 * <p>
 * 内部员工信息 服务类
 * </p>
 *
 * @author D
 * @since 2023-03-27 08:24:57
 */
public interface ManagerService extends IService<Manager> {
        Page<User> userPageList(Long c, Integer s, String k);

        int addManager(User user);

    Manager initUpdate(Long id);

    Manager selectById(Long id);

    int updateManager(Manager manager);

    boolean delAll(Long userCode);

    Manager getByCellphone(String phoneNumber);

    Manager selectEndowRole(Long userCode);
}
